﻿//-----------------------------------------------------------------
//
// @(#)$Id: ProductTracking.aspx.cs,v 1.0 2013/12/13 17:37:17 lichunhua Exp $
// @(#)$Author: lichunhua  $
// @(#)$Date: 2013/12/13 17:37:17 $
// @(#)$Description:
//
//
//
//                 All Rights Reserved.
//-----------------------------------------------------------------
using System;
using System.Data;
using System.Web.UI.WebControls;
using ebay.Dal.K3DataBaseTableAdapters;

public partial class UI_Bas_ProductTracking : System.Web.UI.Page
{
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        ddlProcurementStatus.Items.Insert(0, new ListItem("《--请选择--》", ""));
        ddlProcurementStatus.Items.Insert(1, new ListItem("未采购", "1"));
        ddlProcurementStatus.Items.Insert(2, new ListItem("已采购", "2"));
        ddlProcurementStatus.Items.Insert(3, new ListItem("不采购", "3"));
        
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        WebUtility.CheckRight();
        if (!IsPostBack)
        {
            dateFrom.Value = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
            dateTo.Value = DateTime.Now.ToString("yyyy-MM-dd");

            T_StockTableAdapter stockAdapter = new T_StockTableAdapter();//仓库
            DataTable dt = stockAdapter.GetData();
        }
    }   
}
